package com.intellagric.service.iftmonitor.ift_equipment;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.iftmonitor.EquipmentStatusVo;
import com.intellagric.pojo.IftEquipmentBreakdownWithBLOBs;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/23
 * @DESC： 设备故障信息服务接口
 */
public interface EquipmentBreakdownService {

    //增加通道
    ResponseMessage addEquipmentBreakdown(IftEquipmentBreakdownWithBLOBs equipmentBreakdown);

    //删除通道
    ResponseMessage deleteEquipmentBreakdown(String id);

    //修改通道
    ResponseMessage editEquipmentBreakdown(IftEquipmentBreakdownWithBLOBs equipmentBreakdown);

    //查询通道
    IftEquipmentBreakdownWithBLOBs getEquipmentBreakdownById(String id);
    LayuiDataGridResult getEquipmentBreakdownList();
    LayuiDataGridResult getEquipmentBreakdownListByVo(EquipmentStatusVo equipmentStatusVo);
    LayuiDataGridResult getEquipmentBreakdownPage(int page, int rows);

}
